package cmd

import (
	"fmt"
	"gitee.com/igolang/pkg/boot"
	"github.com/spf13/cobra"
)

var versionCmd = &cobra.Command{
	Use:              "version",
	Short:            "version",
	Long:             "查看版本信息",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {},
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println(boot.Info())
	},
}
